import Vue from 'vue'
import App from './App.vue'
import router from './router'

import "./directive" // 指令

import db from './utils/storage'
Vue.prototype.$db = db // storage

import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import './element-variables.scss'
Vue.use(ElementUI);


import globalComponents from '@/components/globalComponents'; // 高频组件 components 下 全局自动注册
Vue.use(globalComponents);

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
